package com.imm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imm.common.Result;
import com.imm.dto.DishDTO;
import com.imm.dto.SetmealDTO;
import com.imm.pojo.Setmeal;

import java.util.List;

public interface ISetmealService extends IService<Setmeal> {
    Result<Page> pageSetmeal(int page, int pageSize, String name);

    Result<String> insert(SetmealDTO setmealDTO);

    Result<String> changeStatus(Integer status, Long[] ids);

    Result<String> delete(Long[] ids);

    Result<List<Setmeal>> listSetmeal(Setmeal setmeal);

    Result<List<DishDTO>> dishList(Long id);
}
